package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 子订单对象 mp_client_sub_order
 * 
 * @author ruoyi
 * @date 2022-08-01
 */
@ApiModel(value = "MpClientSubOrder",description = "子订单对象 mp_client_sub_order")
public class MpClientSubOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子订单ID */
    private String subOrderId;

    /** 订单ID */
    @ApiModelProperty(value="订单ID",name="MpClientSubOrder$orderId")
    @Excel(name = "订单ID")
    private String orderId;

    /** 产品ID */
    @ApiModelProperty(value="产品ID",name="MpClientSubOrder$proId")
    @Excel(name = "产品ID")
    private Long proId;

    /** 产品套餐ID */
    @ApiModelProperty(value="产品套餐ID",name="MpClientSubOrder$proComboId")
    @Excel(name = "产品套餐ID")
    private Long proComboId;

    /** 产品购买数量 */
    @ApiModelProperty(value="产品购买数量",name="MpClientSubOrder$proCount")
    @Excel(name = "产品购买数量")
    private Long proCount;

    private String proName;

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Integer getSellType() {
        return sellType;
    }

    public void setSellType(Integer sellType) {
        this.sellType = sellType;
    }

    public String getMasterImg() {
        return masterImg;
    }

    public void setMasterImg(String masterImg) {
        this.masterImg = masterImg;
    }

    private Integer sellType;
    private String masterImg;

    public BigDecimal getGoldBeanPrice() {
        return goldBeanPrice;
    }

    public void setGoldBeanPrice(BigDecimal goldBeanPrice) {
        this.goldBeanPrice = goldBeanPrice;
    }

    public BigDecimal getRmbPrice() {
        return rmbPrice;
    }

    public void setRmbPrice(BigDecimal rmbPrice) {
        this.rmbPrice = rmbPrice;
    }

    public BigDecimal getSilverBeanPrice() {
        return silverBeanPrice;
    }

    public void setSilverBeanPrice(BigDecimal silverBeanPrice) {
        this.silverBeanPrice = silverBeanPrice;
    }

    private BigDecimal goldBeanPrice;
    private BigDecimal rmbPrice;
    private BigDecimal silverBeanPrice;
    private BigDecimal returnGold;

    public BigDecimal getReturnGold() {
        return returnGold;
    }

    public void setReturnGold(BigDecimal returnGold) {
        this.returnGold = returnGold;
    }

    public void setSubOrderId(String subOrderId)
    {
        this.subOrderId = subOrderId;
    }

    public String getSubOrderId() 
    {
        return subOrderId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setProComboId(Long proComboId) 
    {
        this.proComboId = proComboId;
    }

    public Long getProComboId() 
    {
        return proComboId;
    }
    public void setProCount(Long proCount) 
    {
        this.proCount = proCount;
    }

    public Long getProCount() 
    {
        return proCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subOrderId", getSubOrderId())
            .append("orderId", getOrderId())
            .append("proId", getProId())
            .append("proComboId", getProComboId())
            .append("proCount", getProCount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
